package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.bean.MyPageOld;
import com.serkol.ams.entity.VideoMaster;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【video_master】的数据库操作Service
* @createDate 2023-10-31 19:38:54
*/
public interface VideoMasterService extends IService<VideoMaster> {

    MyPageOld findByList(int pageSize, int current);

    List<Map<String, Object>> findByNewList();

    List<Map<String, Object>> findByHomeList();

    MyPageOld findByHomePageList(int pageSize, int current);

    Map<String, Object> getInfo(long id);

    boolean view(long detailId, long masterId);

    boolean like(long detailId, long masterId);
}
